package wenjian;

public class Example_01 {
	String s;
	int i,i2,i3;
	private Example_01(){
		
	}
	protected Example_01(String s,int i){
		this.s=s;
		this.i=i;
	}
	public Example_01(String...strings){
		if(0<strings.length)
			i=Integer.valueOf(strings[0]);
		if(1<strings.length)
			i2=Integer.valueOf(strings[1]);
		if(2<strings.length)
			i3=Integer.valueOf(strings[2]);
	}
	public void print(){
		System.out.println(s);
		System.out.println(i);
		System.out.println(i2);
		System.out.println(i3);
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		

	}

}
